package com.qianli.user.service;

import com.fqgj.common.api.Response;
import com.qianli.user.ro.Paged;
import com.qianli.user.ro.account.UserAccessRO;
import com.qianli.user.ro.account.UserRO;
import com.qianli.user.ro.auth.CustomerRO;
import com.qianli.user.ro.query.UserConditionQueryRO;
import com.qianli.user.ro.query.UserQueryRO;

import java.util.List;

/**
 * name:用户查询
 * auth:ting.li@qianli-inc.com
 * date:2018/1/9 17:50
 * version: v1.0.0
 **/
public interface UserQueryService {
    /**
     * 按注册来源分页查询用户信息
     * @param queryRO
     * @return
     */
    Paged<List<UserAccessRO>> pagedQueryUserByRegisterFrom(UserConditionQueryRO queryRO);

    /**
     * 根据身份证查询用户
     * @param query
     * @return
     */
    Response<UserRO> getUserByIdentityNo(UserQueryRO query);

    /**
     * 查询实名信息
     * @param customerCode
     * @return
     */
    Response<CustomerRO> queryUserByCustomerCode(String customerCode);

    /**
     * 查询用户实名信息
     * @param userCode
     * @return
     */
    Response<UserRO> queryUserByUserCode(String userCode);
}
